package com.chinacoal.microservice.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.pojo.CcmsSmartleasingAssessment;
import com.chinacoal.microservice.pojo.CcmsSmartleasingAssessor;

/**
 * 考核模块-考核管理-考核人明细mapper类
 * @author wiilead
 *
 */
public interface CcmsSmartleasingAssessorMapper extends BaseMapper<CcmsSmartleasingAssessor>{
	
	/**
	 * 查看考核人明细
	 * @param assessmentId
	 * @return
	 */
	List<CcmsSmartleasingAssessor> selectAssessorList(@Param("assessmentId") String assessmentId);
	
	/**
	 * 根据考核Id全量删除
	 * @param assessmentId
	 */
	void deleteByAssessmentId(@Param("assessmentId") String assessmentId);
	
	/**
	 * 查询考核Id
	 * @param assessor
	 * @return
	 */
	List<String> selectAssessmentIdList(@Param("assessor") Integer assessor);
	
	/**
	 * 该考核对应考核人数量
	 * @return
	 */
	Integer statisticsAssessor(@Param("assessmentId") String assessmentId);
} 
